package com.vikutorika.dao;

import java.sql.Timestamp;
import java.util.List;
import com.vikutorika.entity.PersonalTextMessage;
import com.vikutorika.vo.MessageVo;
import com.vikutorika.vo.SendMessageVo;

public interface PersonalTextMessageDAO {
    List<PersonalTextMessage> getBySenderUID_AND_ReceiverUID(Integer sender_uid,Integer receiver_uid,Integer count);
    List<PersonalTextMessage> getUnReadBySenderUID_AND_ReceiverUID(Integer sender_uid, Integer receiver_uid);
    List<PersonalTextMessage> getReadBySenderUID_AND_ReceiverUID(Integer sender_uid,Integer receiver_uid);
    void setRead(Integer rid, Integer uid, Timestamp time);
    Integer insert(SendMessageVo vo);
}
